<!DOCTYPE html>
<html xmlns:th="http://www.thymeleleaf.org">
<head>
    <meta charset="UTF-8">
    <title></title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="stylesheet" href="/xadmin/css/font.css">
    <link rel="stylesheet" href="/xadmin/css/xadmin.css">
    <!-- <link rel="stylesheet" href="./css/theme5.css"> -->
    <script src="/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="/xadmin/js/xadmin.js"></script>
    <script type="text/javascript" src="/xadmin/js/jquery.min.js"></script>
    <script type="text/javascript" src="/js/layui-config.js"></script>
    <script type="text/javascript" src="/js/config.js"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <script>
        // 是否开启刷新记忆tab功能
        var is_remember = false;
    </script>
</head>
<body>
<input type="hidden" id="errorMsg" th:value="${errorMsg}">
<input type="hidden" id="successMsg" th:value="${successMsg}">
<input type="hidden" id="warnMsg" th:value="${warnMsg}">
</body>
<script>
    //JavaScript代码区域
    layui.use(['element','tool'], function(){
        var element = layui.element;
        var tool = layui.tool;

        var errorMsg = $("#errorMsg").val().trim();
        if(!tool.isEmpty(errorMsg)){
            layer.msg(errorMsg, {
                    icon: msg.error,
                    time: 2000
                },
                null
            );
        }
        var successMsg = $("#successMsg").val().trim();
        if(!tool.isEmpty(successMsg)){
            layer.msg(successMsg, {
                    icon: msg.success,
                    time: 2000
                },
                null
            );
        }
        var warnMsg = $("#warnMsg").val().trim();
        if(!tool.isEmpty(warnMsg)){
            layer.msg(warnMsg, {
                    icon: msg.warning,
                    time: 2000
                },
                null
            );
        }
    });
    document.title = systemTitle;
</script>
</html>